//
//  UIScrollView+XDScrollView.h
//  TheRicher
//
//  Created by 李晓东 on 2018/1/31.
//  Copyright © 2018年 PeanutXu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "XDRefreshingView.h"
#import "ShuangSeQiu.h"
#import "DatabaseService.h"

typedef void (^LoadMoreFromDatabaseBlock) (void);

@interface UIScrollView (XDScrollView)

@property (nonatomic, strong) UIActivityIndicatorView *indicatorView;
@property (nonatomic, strong) XDRefreshingView *refreshingView;


- (void)scrollToEnd:(LoadMoreFromDatabaseBlock)block;
@end
